import request from '@/utils/request'

// export function loginAPI(data) {
//   return request({
//     url: '/park/login',
//     method: 'post',
//     data
//   })
// }

export const loginAPI = (data) => request.post('/park/login', data)

export const getRoleInfoAPI = () => request.get('/park/user/profile')
